package include2;
// 妖精
public class Monster {
	private String name;

	public Monster() {
		super();
	}

	public Monster(String name) {
		super();
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	// 妖怪抓师父
	public void catchMaster(Master master) {
		System.out.println(this.name + "抓住了" + master.getName());
	}
}
